﻿using System;
using System.Collections.Generic;
using System.Collections;

namespace LanhuFx.Context.PgSql.ResourcesModels
{
    public partial class IdentityRole
    {
        public IdentityRole()
        {
            IdentityRolepermissions = new HashSet<IdentityRolepermissions>();
            IdentityUserrole = new HashSet<IdentityUserRole>();
        }

        public Guid Id { get; set; }
        public string Name { get; set; }
        public BitArray Issystem { get; set; }
        public string Systemcode { get; set; }
        public Guid? Teamid { get; set; }

        public virtual IdentityTenant Team { get; set; }
        public virtual ICollection<IdentityRolepermissions> IdentityRolepermissions { get; set; }
        public virtual ICollection<IdentityUserRole> IdentityUserrole { get; set; }
    }
}
